package com.zhaojun.cloud.support.shiro;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * wwj
 * 2018/12/18  16:48
 * sso服务器的地址
 */
@Component
public class ShiroServerUrlUtil {

    /**
     * 没有登录 URL
     */
    public static String notLogin_url;

    /**
     * 没有权限 URL
     */
    public static String notRole_url;

    public String getNotLogin_url() {
        return notLogin_url;
    }

    @Value("${sso.url.notLogin}")
    public void setNotLogin_url(String notLogin_url) {
        this.notLogin_url = notLogin_url;
    }

    public String getNotRole_url() {
        return notRole_url;
    }

    @Value("${sso.url.notRole}")
    public void setNotRole_url(String notRole_url) {
        this.notRole_url = notRole_url;
    }
}
